package com.mioto.ld.module.device.model.app;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @author mioto-qinxj
 * @date 2024/6/9
 * @desc
 */
@Getter
@Setter
@ApiModel("app端设备列表显示对象")
public class AppDeviceListVO {

    @ApiModelProperty("设备id")
    private int deviceId;

    @ApiModelProperty("产品名称")
    private String productName;

    @ApiModelProperty("设备序列号")
    private String deviceSn;

    @ApiModelProperty("实时上报属性")
    private String reportAttribute;

    @ApiModelProperty("属性上报时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date date;
}
